package com.woniuxy.boss.bossassembly.service;

import com.woniu.form.AdminForm;
import com.woniuxy.boss.bossassembly.model.BaAdmin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 后台用户表 服务类
 * </p>
 *
 * @author HDC
 * @since 2021-05-24
 */
public interface IBaAdminService extends IService<BaAdmin> {
    //新增用户
    Integer addAdmin(AdminForm adminForm);
    //删除用户
    Integer deleteAdmin(Integer adminId);
    //修改用户
    Integer updateAdmin(AdminForm adminForm);
    //查询所有用户
    List getAllAdmin();
}
